POV-Ray : Newsgroups : povray.advanced-users : Problems using light_group in POV-Ray 3.6 : Problems using light_group in POV-Ray 3.6 Server Time
28 Jul 2024 18:17:27 EDT (-0400)
  Problems using light_group in POV-Ray 3.6  
From: rben
Date: 28 Aug 2004 21:55:00
Message: <web.41313731973db5f8497bbfc0@news.povray.org>
I apparently don't understand how to use light_groups in POV-Ray and I'm
hoping someone will help me understand them better.  I've constructed a
scene in which I want two parts lit by completely seperate groups of
lights.  It's important for the illusion I'm trying to create.  I've placed
one set of lights and objects into one light_group, and the other into a
seperate light_group, kind of like below:

light_group {
  // one or more light sources
  light_source { ... }

  // objects

  object { ... }
   .
   .
   .
  object { ... }
}

light_group {
  light_source { ... }
  object { ... }
   .
   .
   .
  object { ... }
}

I have not used the global_light keyword in either light group and I have no
global light sources.  Nevertheless, both sets of objects are being lit by
both sets of lights.  It's very frustrating.  Does anyone know if there is
a bug in the light_groups and if so how I can work around it?

Thanks,
  Ray


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.